show debug-file reset-info
This command displays logged device restarts in the debug file.
Syntax
show debug-file reset-info
Command |
Description |
---|---|
list |
Displays a list of logged device restarts. Each logged restart is numbered sequentially, displaying device uptime before the restart, reason for the restart, when the restart occurred, and the software version, for example: ** Current Reset Counter [84] ** ***** Reset ***** Reset Counter:83 Up Time (seconds): 237890 Reset Reason: a hardware reset Reset Time: 5.3.2025 2:24:18 SwVersion: ram_ESBC_SIP 760A-092-799 ************** If the restart was caused due to an error (i.e., crash), "Exception" (instead of "Reset") is displayed at the beginning of the logged restart, as shown in the following example: ***** Exception ***** Reset Counter:24 Exception Reason: CMX Kernel Panic EXCEPTION TIME : 4.9.2020 10.21.46 ************** |
reset-counter <Reset Counter> [file <File Name>] |
Displays a logged device restart, specified by its Counter number (use the above command to view all the logged restarts and their Counter numbers). The output also shows any associated logged files. To view the file contents in the output, specify the file after the counter number, for example: M800B*# show debug-file reset-info reset-counter 83 Reset Files [syslog,no-sip] ** Summary ** ***** Reset ***** Reset Counter:83 Up Time (seconds): 237890 Reset Reason: a hardware reset Reset Time: 5.3.2025 2:24:18 SwVersion: ramMP500_ESBC_SIP 760A-092-799 ************** # show debug-file reset-info reset-counter 23 syslog |
Command Mode
Basic and Privileged User
Example
This example displays the list of logged device restarts:
M800B*# show debug-file reset-info list ** Current Reset Counter [84] ** ***** Reset ***** Reset Counter:83 Up Time (seconds): 237890 Reset Reason: a hardware reset Reset Time: 5.3.2025 2:24:18 SwVersion: ramMP500_ESBC_SIP 760A-092-799 ************** ***** Reset ***** Reset Counter:82 Up Time (seconds): 436739 Reset Reason: a hardware reset Reset Time: 2.3.2025 8:18:26 SwVersion: ramMP500_ESBC_SIP 760A-092-770 **************